﻿@using CommandLib
@using Resources
@model FindArtInfo.Models.PageSubmitYourSiteModel
@{
    ViewBag.Title = "Link exchange. Submit your website.";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

    <table border="0" width="100%" id="table5" cellspacing="0" cellpadding="0">
        <tr>
            <td align="left" valign="top">
                <h1 class="underline">@Multi.PageSubmitYourSiteTitle</h1>															
                @Html.Raw(string.Format(Multi.PageSubmitYourSiteMessage1, Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))))
                <p>
                    <textarea rows="3" name="S1" cols="100">
                    @Html.Raw(Multi.PageSubmitYourSiteTxt1)
                </textarea>
                </p>
                <table border="0" width="100%" id="table6" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="left" valign="top" width="350">
                            <h2>@Multi.PageSubmitYourSiteBanner</h2>
                        </td>
                        <td align="left" valign="top">
                            <h2>@Multi.PageSubmitYourSiteCode</h2>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" width="350">
                            <!-- Searchbar www.findartinfo.com-->	
                            @using (Html.BeginForm("Search", "Home", FormMethod.Post))
                            {
                                <table border="0" width="280" cellspacing="0" cellpadding="0" background="~/Content/Images/bigbannerbg.gif"
                                       height="52" id="table7">
                                    <tr>
                                        <td colspan="2">&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input type="text" value="" style="height: 23px; padding-right: 5px; font-size: 13px !important;" size="23" name="HomeArtistName" maxlength="50" id="HomeArtistName">
                                        </td>
                                        <td><input type="submit" value="@Multi.PageSubmitYourSiteSubmit">
                                        </td>
                                    </tr>
                                </table>
                            }																		
                            <!-- Searchbar www.findartinfo.com-->
                        </td>
                        <td align="left" valign="top">
                            <textarea rows="7" name="CodeBigBanner" cols="60">
                            @Html.Raw(Multi.PageSubmitYourSiteTxt2)                         
                        </textarea>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" width="350" height="30">&nbsp;</td>
                        <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" width="350">
                            <!-- Searchbar www.findartinfo.com-->	
                            @using (Html.BeginForm("Search", "Home", FormMethod.Post))
                            {
                                <table border="0" width="140" id="table8" cellspacing="0" cellpadding="0" background="~/Content/Images/smallbannerbg.gif"
                                       height="60">
                                    <tr>
                                        <td>
                                            <input type="text" value="" style="height: 23px; padding-right: 5px; font-size: 13px !important;" size="13" name="HomeArtistName" maxlength="50" id="HomeArtistName">
                                        </td>
                                        <td>
                                            <p align="center">
                                                <input type="submit" value="@Multi.PageSubmitYourSiteGo" name="B2" style="FLOAT: left; CURSOR: hand">
                                            </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">&nbsp;
                                        </td>
                                    </tr>
                                </table>
                            }																		
                            <!-- Searchbar www.findartinfo.com--></td>
                        <td align="left" valign="top">
                            <textarea rows="7" name="CodeBigBanner0" cols="60">
                            @Html.Raw(Multi.PageSubmitYourSiteTxt3)
                        </textarea>
                        </td>
                    </tr>
                </table>
                <hr size="1">
                <h2 class="mellemrubrik" style="margin-bottom: 10px">@Multi.PageSubmitYourSiteMessage2</h2>
                @using (Html.BeginForm("Index", "SubmitYourSite", FormMethod.Post))
                {
                    @Html.AntiForgeryToken()
                    <table border="0" id="table3" cellspacing="0" cellpadding="6">
                        <tr>
                            <td></td>
                            <td>@Html.Raw(Server.HtmlDecode(Html.ValidationMessageFor(m=>m.MessageResult).ToString()))</td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteUrl<font color="#ff0000"> *</font></b></td>
                            <td>
                                @Html.TextBoxFor(m => m.Url, new {@size = "54", @maxlength = "255"})
                                @Multi.PageSubmitYourSiteValidateUrl
                            </td>                            
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteEmail<font color="#ff0000"> *</font></b></td>
                            <td>
                                @Html.TextBoxFor(m => m.Email, new {@size = "54"})
                                @Html.ValidationMessageFor(m=>m.Email)
                            </td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteCountry</b></td>
                            <td>
                                @Html.TextBoxFor(m => m.Country, new {@size = "54"})
                            </td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteHeadLine<font color="#ff0000"> *</font></b></td>
                            <td>
                                @Html.TextBoxFor(m => m.Headline, new {@size = "54", @maxlength = "100"})
                            </td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteShortDes<font color="#ff0000"> *</font></b></td>
                            <td>
                                @Html.TextBoxFor(m => m.ShortDes, new {@size = "54"})
                            </td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteCate<font color="#ff0000"> *</font></b></td>
                            <td>
                                @Html.DropDownListFor(m => m.CateId, new SelectList(Model.ListCate, "Id", "Category"), Multi.PageSubmitYourSiteChooseCate, new {@style = "width: 340px"})
                                @Html.ValidationMessageFor(m => m.CateId)
                            </td>
                        </tr>
                        <tr>
                            <td><b>@Multi.PageSubmitYourSiteReciprocalLinkUrl</b></td>
                            <td>
                                @Html.TextBoxFor(m => m.ReciprocalLinkUrl, new {@size = "54"})
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td><input type="submit" value="@Multi.PageSubmitYourSiteSubmit1" name="B1" class="knap"/></td>
                        </tr>
                    </table>
                }
                <h2 align="center">@Html.Raw(Multi.PageSubmitYourSiteMessage3)</h2>																														
            </td>
        </tr>
    </table>